/**
 * fileName: ActivityBean.java
 * fileTime: 2011-6-14上午10:28:47
 */
package com.bf.xpdd.domain;

import java.util.Date;

/**
 * 用户活动信息
 * 对应数据库表t_sitn_activity
 * 对应界面上活动增加界面/WEB-INF/view/activity/act_create.jsp
 * @author linmu
 */
public class ActivityBean
{
	/**
	 * `id` INT NOT NULL AUTO_INCREMENT , -- 活动编号
	 */
	private long aid;

	/**
	 * `name` VARCHAR(256) NULL , -- 活动名称
	 */
	private String aname;

	/**
	 * `begintime` DATETIME NULL , -- 开始时间
	 */
	private Date beginTime;

	/**
	 * `endtime` DATETIME NULL , -- 结束时间
	 */
	private Date endTime;

	/**
	 * `nick` VARCHAR(512) NULL , -- 创建人淘宝昵称（是否一个活动只能一个人创建？）
	 */
	private String nick;

	/**
	 * `number` INT NULL , -- 商品数量
	 */
	private int xpddItemSize;

	/**
	 * `in_num` INT NULL , -- 参与人数
	 */
	private long userSize;

	/**
	 * `deal_num` INT NULL , -- 成交人数
	 */
	private long dealNum;

	/**
	 * `max_num` INT NULL , -- 参加活动最大人数
	 */
	private long maxNum;

	/**
	 * `range` SMALLINT NULL , -- 活动隐私等级(所有人、所有淘宝注册用户、购买过本店商品的用户)
	 */
	private int activityScope;

	/**
	 * `is_help` SMALLINT NULL , -- 是否开启帮忙
	 */
	private boolean isHelp;

	/**
	 * `is_eave` SMALLINT NULL , -- 是否开启偷听
	 */
	private boolean isEave;

	/**
	 * `is_favorites` SMALLINT NULL , -- 是否开启收藏
	 */
	private boolean isFavorsite;

	/**
	 * `is_share` SMALLINT NULL , -- 是否开启分享
	 */
	private boolean isShare;

	/**
	 * `notice` VARCHAR(512) NULL , -- 商家自定义公告信息
	 */
	private String notice;

	/**
	 * `id_seller` INT NOT NULL , -- 商家编号
	 */
	//private int sellerId;

	/**
	 * `id_setting` INT NOT NULL , -- 参数模板编号
	 */
	private long modleId;

	/**
	 * 活动的当前状态
	 */
	private int status;

	/**
	 * 活动创建日期
	 */
	private Date createTime;
	
	/**
	 * 全局属性id
	 */
	private long globalId;
	
	/** 人群标签 */
	private String tagId;
	
	/**
	 * @return the aid
	 */
	public long getAid()
	{
		return aid;
	}

	/**
	 * @param aid the aid to set
	 */
	public void setAid(long aid)
	{
		this.aid = aid;
	}

	/**
	 * @return the aname
	 */
	public String getAname()
	{
		return aname;
	}

	/**
	 * @param aname the aname to set
	 */
	public void setAname(String aname)
	{
		this.aname = aname;
	}

	/**
	 * @return the beginTime
	 */
	public Date getBeginTime()
	{
		return beginTime;
	}

	/**
	 * @param beginTime the beginTime to set
	 */
	public void setBeginTime(Date beginTime)
	{
		this.beginTime = beginTime;
	}

	/**
	 * @return the endTime
	 */
	public Date getEndTime()
	{
		return endTime;
	}

	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(Date endTime)
	{
		this.endTime = endTime;
	}

	/**
	 * @return the nick
	 */
	public String getNick()
	{
		return nick;
	}

	/**
	 * @param nick the nick to set
	 */
	public void setNick(String nick)
	{
		this.nick = nick;
	}

	/**
	 * @return the xpddItemSize
	 */
	public int getXpddItemSize()
	{
		return xpddItemSize;
	}

	/**
	 * @param xpddItemSize the xpddItemSize to set
	 */
	public void setXpddItemSize(int xpddItemSize)
	{
		this.xpddItemSize = xpddItemSize;
	}

	/**
	 * @return the userSize
	 */
	public long getUserSize()
	{
		return userSize;
	}

	/**
	 * @param userSize the userSize to set
	 */
	public void setUserSize(long userSize)
	{
		this.userSize = userSize;
	}

	/**
	 * @return the dealNum
	 */
	public long getDealNum()
	{
		return dealNum;
	}

	/**
	 * @param dealNum the dealNum to set
	 */
	public void setDealNum(long dealNum)
	{
		this.dealNum = dealNum;
	}

	/**
	 * @return the maxNum
	 */
	public long getMaxNum()
	{
		return maxNum;
	}

	/**
	 * @param maxNum the maxNum to set
	 */
	public void setMaxNum(long maxNum)
	{
		this.maxNum = maxNum;
	}

	/**
	 * @return the activityScope
	 */
	public int getActivityScope()
	{
		return activityScope;
	}

	/**
	 * @param activityScope the activityScope to set
	 */
	public void setActivityScope(int activityScope)
	{
		this.activityScope = activityScope;
	}

	/**
	 * @return the isHelp
	 */
	public boolean isHelp()
	{
		return isHelp;
	}

	/**
	 * @param isHelp the isHelp to set
	 */
	public void setHelp(boolean isHelp)
	{
		this.isHelp = isHelp;
	}

	/**
	 * @return the isEave
	 */
	public boolean isEave()
	{
		return isEave;
	}

	/**
	 * @param isEave the isEave to set
	 */
	public void setEave(boolean isEave)
	{
		this.isEave = isEave;
	}

	/**
	 * @return the isFavorsite
	 */
	public boolean isFavorsite()
	{
		return isFavorsite;
	}

	/**
	 * @param isFavorsite the isFavorsite to set
	 */
	public void setFavorsite(boolean isFavorsite)
	{
		this.isFavorsite = isFavorsite;
	}

	/**
	 * @return the isShare
	 */
	public boolean isShare()
	{
		return isShare;
	}

	/**
	 * @param isShare the isShare to set
	 */
	public void setShare(boolean isShare)
	{
		this.isShare = isShare;
	}

	/**
	 * @return the notice
	 */
	public String getNotice()
	{
		return notice;
	}

	/**
	 * @param notice the notice to set
	 */
	public void setNotice(String notice)
	{
		this.notice = notice;
	}

//	/**
//	 * @return the sellerId
//	 */
//	public int getSellerId()
//	{
//		return sellerId;
//	}
//
//	/**
//	 * @param sellerId the sellerId to set
//	 */
//	public void setSellerId(int sellerId)
//	{
//		this.sellerId = sellerId;
//	}

	/**
	 * @return the modleId
	 */
	public long getModleId()
	{
		return modleId;
	}

	/**
	 * @param modleId the modleId to set
	 */
	public void setModleId(long modleId)
	{
		this.modleId = modleId;
	}

	/**
	 * @return the status
	 */
	public int getStatus()
	{
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status)
	{
		this.status = status;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime()
	{
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	/**
	 * @return the globalId
	 */
	public long getGlobalId()
	{
		return globalId;
	}

	/**
	 * @param globalId the globalId to set
	 */
	public void setGlobalId(long globalId)
	{
		this.globalId = globalId;
	}
	
	/**
	 * @return the tagId
	 */
	public String getTagId() {
		return tagId;
	}

	/**
	 * @param tagId the tagId to set
	 */
	public void setTagId(String tagId) {
		this.tagId = tagId;
	}
	
}
